home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++,comp.lang.pascal.delphi.misc
- Path: mozart.unx.sas.com!news
- From: sdkkah@mvs.sas.com
- Subject: Calling all API experts !!
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <DoIMG1.F9y@unx.sas.com>
- Date: Tue, 19 Mar 1996 12:52:49 GMT
- X-Nntp-Posting-Host: 130.96.61.124
- Reply-To: sdkkah@mvs.sas.com
- Organization: SAS Institute Inc.
- X-Newsreader: IBM NewsReader/2 v1.02
-
-
- Hi, world
-
- I am trying to make an application with a tool which just recently allowed
- calling Windows API's. The tool (The SAS System) itself is written in C++.
- Some API's works OK, but there's one I cant figure out how to use right.
- Its called GetProfileString. I need to access the [fonts] section of WIN.INI,
- and get all entries and values. But I dont know the number of entries to
- read, since this obviously varies. Is there some kind of trick that would
- allow me to loop through untill the last entry is read, without having to
- know the exact number of entries in each section ?
-
- Getting the font names is just getting me half the way. I also need to
- know the point size and property (Bold,Italic etc..). Does anyone know
- where I can get this information ?
-
- Finally, can anyone recommend any good documentations as to how
- Windows API's are dealt with in general ?
-
- All kind of help is appreciated.
-
- Cheers,
- Karsten
-
-
-
-
-
-
-
-